package com.solidumgame.locroninja.finalizar
{
	import com.solidumgame.locroninja.juego.Puntaje;
	
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	public class PantallaFinal extends Sprite
	{
		public function PantallaFinal()
		{
			var final:Final = new Final();
			addChild(final);
			super();
			final.puntajeTexto.text = Puntaje.contadorIngredientesCortadosValidos.toString();
			final.replay.addEventListener(MouseEvent.CLICK, function(e:MouseEvent):void{dispatchEvent(new Event("replay"));});
		}
	}
}